home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / pkgtrans.z / pkgtrans
Text File  |  1998-10-30  |  8KB  |  199 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ppppkkkkggggttttrrrraaaannnnssss((((1111))))                                                        ppppkkkkggggttttrrrraaaannnnssss((((1111))))
  71.  
  72.  
  73.  
  74. NNNNAAAAMMMMEEEE
  75.      _pppp_kkkk_gggg_tttt_rrrr_aaaa_nnnn_ssss - translate package format
  76.  
  77. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  78.      _pppp_kkkk_gggg_tttt_rrrr_aaaa_nnnn_ssss [_----_iiii_oooo_nnnn_ssss] _d_e_v_i_c_e_1 _d_e_v_i_c_e_2 [ _p_k_g_i_n_s_t_1 [ _p_k_g_i_n_s_t_2 [ .
  79.  
  80. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  81.      _pppp_kkkk_gggg_tttt_rrrr_aaaa_nnnn_ssss translates an installable package from one format to another.
  82.      It translates:
  83.  
  84.           a filesystem format to a datastream
  85.  
  86.           a datastream to a filesystem format
  87.  
  88.           a filesystem format to another filesystem format
  89.  
  90.      The options and arguments for this command are:
  91.  
  92.      _----_iiii           Copies only the _pppp_kkkk_gggg_iiii_nnnn_ffff_oooo and _pppp_kkkk_gggg_mmmm_aaaa_pppp files.
  93.  
  94.      _----_oooo           Overwrites the same instance on the destination device,
  95.                   package instance will be overwritten if it already exists.
  96.  
  97.      _----_nnnn           Creates a new instance if any instance of this package
  98.                   already exists.
  99.  
  100.      _----_ssss           Indicates that the package should be written to _d_e_v_i_c_e_2 as a
  101.                   datastream rather than as a filesystem.  The default
  102.                   behavior is to write to _d_e_v_i_c_e_2 in the filesystem format.
  103.  
  104.      _d_e_v_i_c_e_1      Indicates the source device.  The package or packages on
  105.                   this device will be translated and placed on _d_e_v_i_c_e_2.
  106.  
  107.      _d_e_v_i_c_e_2      Indicates the destination device.  Translated packages will
  108.                   be placed on this device.
  109.  
  110.      _p_k_g_i_n_s_t      Specifies which package instance or instances on _d_e_v_i_c_e_1
  111.                   should be translated.  The token _aaaa_llll_llll may be used to indicate
  112.                   all packages.  _p_k_g_i_n_s_t_...._**** can be used to indicate all
  113.                   instances of a package.  (When using this format, enclose
  114.                   the command line in single quotes to prevent the shell from
  115.                   interpreting the * character.)  If no packages are defined,
  116.                   a prompt shows all packages on the device and asks which to
  117.                   translate.
  118.  
  119. NNNNOOOOTTTTEEEESSSS
  120.      Device specifications can be either the special node name (_////_dddd_eeee_vvvv_////_dddd_iiii_ssss_kkkk_eeee_tttt_tttt_eeee)
  121.      or the device alias (_dddd_iiii_ssss_kkkk_eeee_tttt_tttt_eeee_1111).  The device _ssss_pppp_oooo_oooo_llll indicates the default
  122.      spool directory.  Source and destination devices may not be the same.
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. ppppkkkkggggttttrrrraaaannnnssss((((1111))))                                                        ppppkkkkggggttttrrrraaaannnnssss((((1111))))
  137.  
  138.  
  139.  
  140.      By default, _pppp_kkkk_gggg_tttt_rrrr_aaaa_nnnn_ssss will not transfer any instance of a package if any
  141.      instance of that package already exists on the destination device.  Use
  142.      of the _----_nnnn option will create a new instance if an instance of this
  143.      package already exists.  Use of the _----_oooo option will overwrite the same
  144.      instance if it already exists.  Neither of these options are useful if
  145.      the destination device is a datastream.
  146.  
  147.      If you're transferring a package in datastream format to floppies and the
  148.      package spans multiple floppies, use the filesystem format.  (The
  149.      datastream format is not supported across multiple floppies.)
  150.  
  151.      _pppp_kkkk_gggg_tttt_rrrr_aaaa_nnnn_ssss depends on the integrity of the _////_eeee_tttt_cccc_////_dddd_eeee_vvvv_iiii_cccc_eeee_...._tttt_aaaa_bbbb file to
  152.      determine whether a device can support a datastream and/or filesystem
  153.      formats.  Problems in transferring a device in a particular format could
  154.      mean corruption of _////_eeee_tttt_cccc_////_dddd_eeee_vvvv_iiii_cccc_eeee_...._tttt_aaaa_bbbb.
  155.  
  156. EEEEXXXXAAAAMMMMPPPPLLLLEEEE
  157.      The following example translates all packages on the floppy drive
  158.      _////_dddd_eeee_vvvv_////_dddd_iiii_ssss_kkkk_eeee_tttt_tttt_eeee and places the translations on _////_tttt_mmmm_pppp.
  159.  
  160.           _pppp_kkkk_gggg_tttt_rrrr_aaaa_nnnn_ssss _////_dddd_eeee_vvvv_////_dddd_iiii_ssss_kkkk_eeee_tttt_tttt_eeee _////_tttt_mmmm_pppp _aaaa_llll_llll
  161.  
  162.      The next example translates packages _pppp_kkkk_gggg_1111 and _pppp_kkkk_gggg_2222 on _////_tttt_mmmm_pppp and places
  163.      their translations (that is, a datastream) on the _9999_tttt_rrrr_aaaa_cccc_kkkk_1111 output device.
  164.  
  165.           _pppp_kkkk_gggg_tttt_rrrr_aaaa_nnnn_ssss _////_tttt_mmmm_pppp _9999_tttt_rrrr_aaaa_cccc_kkkk_1111 _pppp_kkkk_gggg_1111 _pppp_kkkk_gggg_2222
  166.  
  167.      The next example translates _pppp_kkkk_gggg_1111 and _pppp_kkkk_gggg_2222 on _tttt_mmmm_pppp and places them on the
  168.      diskette in a datastream format.
  169.  
  170.           _pppp_kkkk_gggg_tttt_rrrr_aaaa_nnnn_ssss _----_ssss _////_tttt_mmmm_pppp _////_dddd_eeee_vvvv_////_dddd_iiii_ssss_kkkk_eeee_tttt_tttt_eeee _pppp_kkkk_gggg_1111 _pppp_kkkk_gggg_2222
  171.  
  172. FFFFIIIILLLLEEEESSSS
  173.      _////_eeee_tttt_cccc_////_dddd_eeee_vvvv_iiii_cccc_eeee_...._tttt_aaaa_bbbb
  174.  
  175. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  176.      _iiii_nnnn_ssss_tttt_aaaa_llll_llll_ffff(1M), _pppp_kkkk_gggg_aaaa_dddd_dddd(1M), _pppp_kkkk_gggg_aaaa_ssss_kkkk(1M), _pppp_kkkk_gggg_iiii_nnnn_ffff_oooo(1), _pppp_kkkk_gggg_mmmm_kkkk(1), _pppp_kkkk_gggg_pppp_aaaa_rrrr_aaaa_mmmm(1),
  177.      _pppp_kkkk_gggg_pppp_rrrr_oooo_tttt_oooo(1), _pppp_kkkk_gggg_rrrr_mmmm(1M).
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.